﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessObject;
using System.Data;

namespace GreenLife
{
    public partial class ChuDauTu : System.Web.UI.Page
    {
        GreenLifesBO glBO = new GreenLifesBO();
        DataSet ds;
        protected void Page_Load(object sender, EventArgs e)
        {
            this.selectGreenLifeByStatus();
        }
        public void selectGreenLifeByStatus()
        {
            ds = glBO.getGreenLifeByStatus(4);
            //this.listVitri.DataSource = ds.Tables[0];
            //this.listVitri.DataBind();

            //CollectionPager1.PageSize = 2;//thay doi so ban tin hien thi
            //CollectionPager1.DataSource = ds.Tables[0].DefaultView;
            //CollectionPager1.BindToControl = listVitri;
            //listVitri.DataSource = CollectionPager1.DataSourcePaged;
        }
    }
}